home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload Trio 2
/
Shareware Overload Trio Volume 2 (Chestnut CD-ROM).ISO
/
dir27
/
grphca22.zip
/
EXAMPLES.ZIP
/
TRIG.PLT
< prev
next >
Wrap
Text File
|
1993-02-03
|
2KB
|
98 lines
paper size 11 by 8.5
color lblue
frame
samples 50
map x -10 10
draw x
xlabel 'x'
color lred
plot sin(x),atan(x),cos(atan(x))
color lblue
draw y
ylabel 'sin(x),atan(x),cos(atan(x))'
title 'Trigonometric Functions I'
pause 3
clear
frame
samples 100
color lblue
map x -pi/2 pi
draw x
xlabel 'x'
color lred
plot cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))
color lblue
draw y
ylabel 'cos(x),-(sin(x) > sin(x+1) ? sin(x) : sin(x+1))'
title 'Trigonometric Functions II'
pause 3
clear
samples 200
map x -3 5
color lblue
draw x
xlabel 'x'
color lred
plot asin(x),acos(x)
color lblue
draw y
ylabel 'asin(x),acos(x)'
title 'Trigonometric Functions III'
pause 3
clear
frame
map x -30 20
color lblue
draw x
xlabel 'x'
color lred
plot besj0(x)*0.12e1 con, (x**besj0(x))-2.5 add
color lblue
draw y
ylabel 'besj0(x)*0.12e1 con, (x**besj0(x))-2.5'
title 'Bessel Functions I'
pause 3
clear
frame
samples 400
map x -10 10
color lblue
draw x
xlabel 'x'
color lred
plot real(sin(x)**besj0(x))
color lblue
draw y
ylabel 'real(sin(x)**besj0(x))'
title 'Bessel Functions II'
pause 3
clear
frame
map x -5*pi 5*pi y -5 5
color lblue
draw x y
xlabel 'x'
ylabel 'real(tan(x)/atan(x)), 1/x'
color lred
plot real(tan(x)/atan(x)), 1/x
color lblue
title 'Trigonometric Functions IV'
pause 3
clear
frame
samples 800
map x -30 20
color lred
plot sin(x*20)*atan(x)
color lblue
draw x y
xlabel 'x'
ylabel 'sin(x*20)*atan(x)'
title 'Trigonometric Functions V'